package com.ziyun.erp.common.e.production;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author gaosheng
 * @Description: 生产单生产状态
 */
public enum OrderProductionStatusEnum implements BaseEnum{

    UN_PRODUCE(1, "待生产"),
    PRODUCING(2, "生产中"),
    FINISH(3, "生产完成"),
    CANCLE(4, "取消"),
//    WAIT_RECEIVED(5, "待收货"),
//    RECEIVED(6, "已收货"),
    ;

    private int id;
    private String describe;

    OrderProductionStatusEnum(int id, String describe){
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
